// import com.alibaba.druid.sql.ast.SQLName;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

#include "MySqlShowConfigStatement.h"
#include "../../../../ast/SQLName.h"
#include "../../visitor/MySqlASTVisitor.h"

void MySqlShowConfigStatement::accept0(MySqlASTVisitor_ptr visitor)
{
  visitor->visit(SharedObject(MySqlShowConfigStatement));
  visitor->endVisit(SharedObject(MySqlShowConfigStatement));
}

SQLName_ptr MySqlShowConfigStatement::getName()
{
  return name;
}

void MySqlShowConfigStatement::setName(SQLName_ptr x)
{
  if (x != nullptr)
  {
    x->setParent(SharedObject(MySqlShowConfigStatement));
  }
  this->name = x;
}
